Establishing communication sessions

ABSTRACT

A method and a system for establishing a communication session between a first communication device in a main communication network and a second communication device in a local communication network comprising a wireless network, the second communication device being located in the vicinity of a mobile device, the first communication device contacting an external phone number, wherein the external phone number is assigned to a unique identifier of the mobile device. The method comprises (i) the mobile device sending the unique identifier detectable on the wireless network; (ii) providing the unique identifier of the mobile device) and a local communication identifier to a service provider adapter; (iii) determining the location of the mobile device, associating the mobile device to the second communication device in dependence of its location.

BACKGROUND

The present invention relates in general to communication systems, andin particular, to a method, a system as well as a computer programproduct and a data processing system for establishing a communicationsession between a first communication device in a main communicationnetwork and a second communication device in a local communicationnetwork comprising a wireless network.

Mobile devices or wireless communications device are ubiquitous. Becauseso many people now carry mobile devices with them at all times, at leastwhen away from home, it is often assumed that a mobile subscriber canalways be reached by simply calling the number associated with themobile device. However, the mobile subscriber may be unavailable due toany one of a number of reasons. For example, the device may be shut off,there may be no wireless coverage, the phone may be muted, etc. In suchinstances, it may not be possible to reach the mobile subscriber, whichmay be highly problematic, especially in emergency cases.

Network integration applications supporting call routing betweenwireless and wireline telephones for single end users typically provideone or more service capabilities such as call forwarding and FindMe-Follow Me® services. The Find Me-Follow Me® service providesend-users with a capability to manage communications by allowing them todetermine how, when, and by whom they can be reached.

Find Me-Follow Me® service applications enable users to define profilesbased on a wide variety of parameters via a telephone or a Web-basedinterface. Typically, users select a combination of different phonenumbers in a user defined search order for delivery of calls. Forexample, users who are going to be away from the office can setpreferences that enable the system to first transfer important calls toa mobile phone number, then a pager, and then home if no one answers atthe office. Generally, if no pick up occurs at the final destination,the caller can be transferred to voicemail.

SUMMARY

A method is proposed for establishing a communication session between afirst communication device in a main communication network and a secondcommunication device in a local communication network comprising awireless network, the second communication device being located in thevicinity of a mobile device assigned to a call receiver, the firstcommunication device contacting an external phone number, wherein theexternal phone number is assigned to a unique identifier of the mobiledevice by a service provider connected to the main communicationnetwork. The method comprises (i) the mobile device sending the uniqueidentifier detectable on the wireless network; (ii) providing the uniqueidentifier of the mobile device and a local communication identifier toa service provider adapter of the service provider; (iii) in response tothe detection of the unique identifier in the wireless network,determining the location of the mobile device, associating the mobiledevice to the second communication device in dependence of its location;and (iv) generating a unique temporary local network identifier at theservice provider adapter, to register and authenticate the call receiverat a local network adapter. The second communication device is reachablevia the external phone number from the main communication network via acommunication channel using the local communication identifier and thetemporary local network identifier.

The invention could provide a solution to contact the call receiver whomay possess a mobile device like a smartphone in emergency cases whenthe smartphone is not reachable via the mobile phone service or viainternet. Such emergency cases may for example be call home situationsfor a child, e.g. an accident in the kindergarten.

A common situation in which the user of the mobile device is notreachable via standard connectivity such as GSM (global system formobile communication), VoIP (Voice over IP), LTE (long term evolution))may be physical absence of network connectivity, e.g. in a basementmeeting room. In addition, wireless local area network (WLAN)infrastructure access may be prohibited.

The user of the smartphone could be reached while being outside ofmobile phone service reach (GSM, LTE) as long as he is in reach of aWLAN infrastructure, without needing access permissions of this WLANinfrastructure. In such case, a call to his or her smartphone number isforwarded to an existing phone near the location of the smartphone. Thecall receiver may remain anonymous in the phone network.

A central service is established which manages a unique external phonenumber. Each specific site which supports this method accepts forwardingcalls to a telephone near the user's exact current location.

The advantage over existing solutions is that a user may only needs toregister in the central service. It could work in cases where thecurrent location's infrastructure supports a call forwarding service,without the need to actively entering the WLAN network of the currentlocation, thus avoiding security threats due to non-authorized devicesin the WLAN network. It works transparently for the external caller.

Further a system is proposed for establishing a communication sessionbetween a first communication device in a main communication network anda second communication device in a local communication network, thesecond communication device being located in the vicinity of a mobiledevice assigned to a call receiver, the first communication devicecontacting an external phone number, wherein the external phone numberis assigned to a unique identifier of the mobile device by a serviceprovider connected to the main communication network. The systemcomprises at least (i) the main communication network with a serviceprovider facility enclosing a service provider adapter and a lookuptable; and (ii) the local communication network with a local networkadapter, a wireless network, a location detection device and a locallookup table. The main communication network is capable of establishinga communication channel to the local communication network.

Further a favourable computer program product is proposed forestablishing a communication session between a first communicationdevice in a main communication network and a second communication devicein a local communication network comprising a wireless network, thesecond communication device being located in the vicinity of a mobiledevice assigned to a call receiver, the first communication devicecontacting an external phone number, wherein the external phone numberis assigned to a unique identifier of the mobile device by a serviceprovider connected to the main communication network, the computerprogram product comprising a computer readable storage medium havingprogram instructions embodied therewith, the program instructionsexecutable by the computer to cause the computer to perform a methodcomprising, (i) the mobile device sending the unique identifierdetectable on the wireless network; (ii) providing the unique identifierof the mobile device and a local communication identifier to a serviceprovider adapter of the service provider; (iii) in response to thedetection of the unique identifier in the wireless network, determiningthe location of the mobile device, associating the mobile device to thesecond communication device in dependence of its location; and (iv)generating a unique temporary local network identifier at the serviceprovider adapter, to register and authenticate the call receiver at alocal network adapter, wherein the second communication device isreachable via the external phone number from the main communicationnetwork via a communication channel using the local communicationidentifier and the temporary local network identifier.

Further, a data processing system for execution of a data processingprogram is proposed, comprising computer readable program instructionsfor performing the method described above.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The present invention together with the above-mentioned and otherobjects and advantages may best be understood from the followingdetailed description of the embodiments, but not restricted to theembodiments.

FIG. 1 depicts a block diagram of a system according to an embodiment ofthe invention for establishing a communication session between a firstcommunication device in a main communication network and a secondcommunication device in a local communication network comprising awireless network.

FIG. 2 depicts a state transition diagram of the method according to anembodiment of the invention for establishing a communication sessionbetween a first communication device in a main communication network anda second communication device in a local communication network.

FIG. 3 depicts a flowchart of the notification of the mobile device tothe service provider according to an embodiment of the invention.

FIG. 4 depicts a flowchart of the forwarding of an incoming telephonecall from the service provider to the second communication deviceaccording to an embodiment of the invention.

FIG. 5 depicts a flowchart of registering a new user to the serviceprovider according to an embodiment of the invention.

FIG. 6 depicts an example embodiment of a data processing system forexecuting a method according to the invention.

DETAILED DESCRIPTION

In the drawings, like elements are referred to with equal referencenumerals. The drawings are merely schematic representations, notintended to portray specific parameters of the invention. Moreover, thedrawings are intended to depict only typical embodiments of theinvention and therefore should not be considered as limiting the scopeof the invention.

The illustrative embodiments provide a system for establishing acommunication session between a first communication device in a maincommunication network and a second communication device in a localcommunication network comprising a wireless network, the secondcommunication device being located in the vicinity of a mobile deviceassigned to a call receiver, the first communication device contactingan external phone number, wherein the external phone number is assignedto a unique identifier of the mobile device by a service providerconnected to the main communication network.

The illustrative embodiments are sometimes described herein usingparticular technologies only as an example for the clarity of thedescription. The illustrative embodiments may be used for (i) the mobiledevice sending the unique identifier detectable on the wireless network;(ii) providing the unique identifier of the mobile device and a localcommunication identifier to a service provider adapter of the serviceprovider; (iii) in response to the detection of the unique identifier inthe wireless network, determining the location of the mobile device,associating the mobile device to the second communication device independence of its location; and (iv) generating a unique temporary localnetwork identifier at the service provider adapter, to register andauthenticate the call receiver at a local network adapter, wherein thesecond communication device is reachable via the external phone numberfrom the main communication network via a communication channel usingthe local communication identifier and the temporary local networkidentifier.

FIG. 1 depicts a block diagram of a system 100 according to anembodiment of the invention for establishing a communication sessionbetween a first communication device 12 in a main communication network10 and a second communication device 32 in a local communication network30 comprising a wireless network 38.

The system 100 is configured for establishing a communication sessionbetween a first communication device 12 and a second communicationdevice 32, wherein the second communication device 32 is located in thevicinity of a mobile device 50 assigned to the call receiver. The system100 comprises the main communication network 10 with a service providerfacility 14 enclosing a service provider adapter 16 and a lookup table18 as well as a number registry 20 and a protocol converter 22.

The first communication network 10 may be a usual phone network of,e.g., GSM, PSTN (public switched telephone network), VoIP standard, andthe like. The service provider facility 14 may be connected to thecommunication network 10 via connection S104 or be comprised within thenetwork 10.

The protocol converter 22 of the service provider facility 14 providesconversion of the different telephone protocols which may be used in thefirst communication network 10 and in the local phone infrastructure ofthe local communication network 30.

The number registry 20 provides an assignment of an external phonenumber 24 to a user of a mobile device 50 like a smartphone by assigningthe external phone number 24 to a unique identifier 52 of the mobiledevice 50. This external phone number 24 does not correspond to thenormal phone number of his mobile device 50, but serves as analternative for reaching the user without having to know the phonenumber of his mobile phone. The external phone number 24 is thereforenot functionally connected to the phone number of the mobile device 50,but attributed for emergency cases, e.g., wherein the mobile device 50may not be reached via standard phone networks or WLAN networks.

The system further comprises at least one local communication network 30with a local network adapter 36, a wireless network 38, a locationdetection device 40 and a local lookup table 42.

The main communication network 10 is capable of establishing acommunication channel to the local communication network 30 via Internet60.

The mobile device 50, which may particularly be a mobile telephonedevice, particularly for a wireless phone network, and preferably asmartphone device, is registered for use in the first communicationnetwork 10, but may be temporarily out of range of the firstcommunication network 10, because the wireless network service as a GSMor LTE service may be down or the mobile device may be located in anarea without any coverage of such network services, for example in thebasement of a building. Yet, the mobile device 50 is within the range ofthe local communication network 30. The mobile device 50 is able to sendthe unique identifier 52, which may be represented as a media accesscontrol (MAC) address attributed to the mobile device 50, e.g. as partof the wireless network adapter of the mobile device 50, to the wirelessnetwork 38 of the local communication network 30, without therequirement of being connected into the wireless network 38 itself. Thewireless network 38 receives the unique identifier 52. The uniqueidentifier 52 may be a beacon, which routinely is broadcasted by mobilephones. This wireless network may be a WLAN network as commonly used inmany locations.

A location detection device 40 may be coupled to the wireless network 38for detecting the location of the mobile device 50 by receiving theunique identifier 52 of the mobile device 50.

The system 100 is further configured to detect the unique identifier 52of the mobile device 50 on the wireless network 38 by the locationdetection device 40 which delivers the information to the local networkadapter 36. The local network adapter 36 then provides the uniqueidentifier 52 of the mobile device 50 and a local communicationidentifier 44 to the service provider adapter 16 of the maincommunication network 10 via the Internet connection 60, e.g.,exemplified in FIG. 1 by signal S100. The location detection device 40is configured, in response to the detection of the unique identifier 52in the wireless network 38, to determine the location of the mobiledevice 50, and associate the mobile device 50 to the secondcommunication device 32 in dependence of its location. This informationis stored in the local lookup table 42.

According to the inventive method the second communication device 32 isthus reachable via the external phone number 24 from the maincommunication network 10 via a communication channel using the localcommunication identifier 44.

The method further comprises that, in response to a request to establisha communication session from the first communication device 12 to thesecond communication device (32) by contacting the external phone number24, it is determined if the local communication identifier 44 for theunique identifier 52 was received by the service provider adapter 16.Then a communication session may be established with the secondcommunication device 32 in vicinity of the mobile device 50 via thelocal communication network 30, if the local communication identifier 44was received.

The service provider adapter 16, upon receiving the unique identifier 52and the local communication identifier 44, may provide the externalphone number 24 assigned to the unique identifier 52 and generate thetemporary local network identifier 46 based on the local communicationidentifier 44 for establishing the communication channel to the localcommunication network 30. Then the service provider adapter 16 mayprovide the temporary local network identifier 46 assigned to the uniqueidentifier 52 to the local network adapter 36 of the local communicationnetwork 30 via Internet 60, exemplified by signal S102. The localnetwork adapter 36 of the local communication network 30 determines thesecond communication device 32 depending on a current location of themobile device 50. The local network adapter 36 assigning the temporarylocal network identifier 46 to a local network identifier 48 forconnecting the closest secondary communication device (32) depending ona current location of the mobile device (50). Thus a phone call from thefirst communication device 12 using the external phone number 24 may berouted through the service provider adapter 16 via the local networkadapter 36 to the second communication device 32, with the call receiveron the second communication device 32 remaining anonymous.

Associating the mobile device 50 to the second communication device 32may be performed by locating the unique identifier 52 by the locationdetection device 40 coupled to the wireless network 38.

Advantageously the local network adapter 36 may forward uniqueidentifiers 52 to the service provider adapter 16 for selected, inparticular for preregistered, mobile devices 50 only. By this embodimentit may be selected which unique identifiers 52 of mobile devices 50 arereachable via the local communication network 30 such that, e.g., mobiledevices 50 which are in the range of the local communication network 30by chance only may be excluded from that service.

Further, a cryptographic hash function may advantageously be used in thelocal communication network 30 and/or the main communication network 10to anonymize the unique identifier 52. Favourably the service of beingreachable by the external phone number 24 may be an anonymous serviceonly, such that the user may not be recognizable to the localcommunication network.

A protocol converter 22 may advantageously be used in the localcommunication network 30 as well as in the first communication network10 and/or the service provider facility 14 to convert differenttelephone protocols.

Advantageously the unique identifier 52 of the mobile device 50 may bepreassigned to the local communication identifier 44, such that theservice forwarding a phone call to the external phone number 24 to thesecond communication device 32 in the vicinity of the mobile device 50may be selectable for preregistered users only. By this embodiment theservice offered by the local communication network 30 may be forrestricted use only.

Assignments of the external phone number 24 to the user, the uniqueidentifier 52 to the user, the local communication identifier 44 to theuser as well as the temporary local network identifier 46 mayadvantageously be stored in the lookup table 18 enclosed in the serviceprovider facility 14.

Assignments of the unique identifier 52 to the closest phone, identifiedby the local network identifier 48, as well as the temporary localnetwork identifier 46 may advantageously be stored in the lookup table42 connected to the local communication network 30.

The second communication device 32 may be implemented in any differenttelephone network technology, connected to a VoIP telephone system 34via the protocol converter 22, such as an analogue telephone 32.

FIG. 2 depicts a state transition diagram of the method according to anembodiment of the invention for establishing a communication sessionbetween a first communication device 12 in a main communication network10 and a second communication device 32 in a local communication network30.

For clarity of the description, referenced numerals, not marked in FIG.2, are referring to components displayed in FIG. 1. The same applies tothe descriptions of the following FIGS. 3 to 5.

The location detection of the current location of the mobile device 50in an area which is covered by the local communication net 30 starts by,e.g., broadcasting a probe packet comprising the unique identifier 52,being part of the wireless network adapter of the mobile device 50,which is received by the location detection device 40 in operation S200.Next, in operation S202, the location detection device 40 processes theprobe packet registering the mobile device 50 by its unique identifier52. The current location of the mobile device 50 in the area which iscovered by the local communication network 30 may be determined and thusthe presence of the mobile device 50 notified to the local networkadapter 36. The local network adapter 36 notifies in operation S204 theunique identifier 52 and the local communication identifier 44 via theInternet 60 to the service provider adapter 16, which then looks in itslookup table 18 for the corresponding user. A temporary local networkidentifier 46 is set up by the service provider adapter 16 in which theuser is registered with the mobile device 50 for normal usage.

An external phone number 24 is looked up for the identified user andthen a phone routing is set up for the external phone number 24 to thetemporary local network identifier 46. The temporary local networkidentifier 46 is sent to the local network adapter 36 in operation S206and registered over there. The local network adapter 36 determines theclosest phone 32 through the location of the mobile device 50 and setsup a phone routing for a local network identifier 48 to this closestphone 32. Thus the location detection of the mobile device 50 as well asthe routing of the external phone number 24 to the closest suitablecommunication device 32, e.g. a telephone, in the vicinity of the mobiledevice 50 is completed.

If an external caller dials the external phone number 24 in operationS208, the service provider adapter 16 initiates the temporary localnetwork identifier 46 sending it through the internet 60 to the localnetwork adapter 36 in operation S210. The local network adapter 36initiates the local network identifier 48 communicating it to the localVoIP telephone system 34, which causes the second communication device32, e.g. an analogue telephone, to ring. Thus the phone call from theexternal caller is routed through to the internal call receiver, whoremains anonymous to the local communication network 30.

Following an example of an implementation of the major processes forestablishing the communication session from a first communication device12 in a first communication network 10 to a second communication device32 in a local communication network 30 is given.

For example, when the local network adapter 36 detects a uniqueidentifier 52, it sends to the service provider adapter 16 anotification that, e.g., a unique identifier 52 named beacon123 isdetected. The service provider adapter 16 answers by registering a localcommunication identifier 44 at the local communication network 30:

→REGISTER sip:beacon123@serviceprovider.com SIP/2.0

←401 Unauthorized

→REGISTER sip:beacon123@serviceprovider.com SIP/2.0

AUTHORIZATION DATA ←200 OK

The routing setup of a phone number to a local network identifier 44 iscarried out using the temporary SIP (session initiation protocol, aprotocol for VoIP technology) identifier (beacon123@).

When a call arrives at the service provider, first a corresponding useris looked up based on the call phone number. Then a local communicationidentifier 44 is looked up based on the user and finally an SIPconnection is established with the local communication network 30 usingthe temporary SIP identifier:

→INVITE sip:beacon123@serviceprovider.com Session Initiation Protocol(SIP)/2.0

Transmission Control Protocol (TCP)

Via: SIP/2.0/TCP protocol.converter.com:5060;branch=z9hG4bK74bf9

Max-Forwards: 70

From: 0123456789<sip:0123456789@pstn.com>;tag=9fxced76s1To: beacon123<sip:beacon123@serviceprovider.com>

←100 Trying ←100 Ringing ←200 OK

→acknowledgment (ACK)

DATA PACKETS

The protocol converter 22 may be used for this process.

When the call arrives in the local communication network 30 the uniqueidentifier 52 is looked up based on the incoming temporary SIPidentifier. The closest telephone location to the corresponding mobiledevice 50 is looked up. Next the call routing may be setup based on theinternal telephone structure, looking for an open line. The incoming SIPconnection is then accepted and connected to the open line:

→INVITE sip:beacon123@serviceprovider.com SIP/2.0Via: SIP/2.0/TCP protocol.converter.com:5060;branch=z9hG4bK74bf9

Max-Forwards: 70

From: 0123456789<sip:0123456789@pstn.com>;tag=9fxced76s1To: beacon123<sip:beacon123@serviceprovider.com>

←100 Trying ←100 Ringing ←200 OK →ACK DATA PACKETS

FIG. 3 depicts a flowchart of the notification of the mobile device 50to the service provider according to an embodiment of the invention. Inoperation S300 the mobile device 50 sends a probe packet comprising theunique identifier 52 via WLAN 38, being detected by the locationdetection device 40 in operation S302 as the unique identifier 52 of themobile device 50. Next the service provider adapter 16 is notified ofdetection of the mobile device 50 with the unique identifier 52 at aVoIP service with the local communication identifier 44 in operationS306. There the unique identifier 52 may be assigned to the localcommunication identifier 44 by the service provider adapter 16 inoperation S308. A timeout process is started in operation S310 by theservice provider, regularly checking for a new device notification forthe local communication identifier 44 in operation S312. If there is nonew device notification the process finally stops and the assignment forthe unique identifier 52 is dropped in operation S314.

FIG. 4 depicts a flowchart of the forwarding of an incoming telephonecall from the service provider to the second communication device 32according to an embodiment of the invention. In operation S400 anincoming call for the external phone number 24 is detected by theservice provider. Next the local communication identifier 44 for theunique identifier 52 is resolved by the service provider adapter 16 inoperation S402 from the assignment of the unique identifier 52 to thelocal communication identifier 44 stored in the lookup table 18 of theservice provider. If a local communication identifier 44 is found inoperation S404 the call is forwarded in operation S406 to the localcommunication network 30 which may be implemented as a VoIPinfrastructure. The telephone next to the mobile device 50 may belocated in operation S408 by the local network adapter 36 in the locallookup table 42, wherein the telephone is characterized by its localnetwork identifier 48. Next, in operation S410, the call is forwarded tothis telephone 32 and the user of the mobile device 50 as the callreceiver may be receiving the call. If there is no local communicationidentifier 44 found to be assigned to the unique identifier 52 in thelookup table 18 in operation S404, the process comes to an end.

FIG. 5 depicts a flowchart of registering a new user to the serviceprovider according to an embodiment of the invention. The process startsin operation S500 by starting a program, e.g. an application (app) onthe mobile device 50. The service provider is then asked in operationS502, if a specific unique identifier 52 is already registered. Inoperation S504 it is checked if the user with this unique identifier 52is already registered. If this is the case the assigned external phonenumber 24 is displayed in operation S506. If the user is not yetregistered, then the user continues by entering his data in operationS508, followed by sending the user data and the unique identifier 52 tothe service provider. In operation S512 the unique identifier 52 isassigned to the user as well as to an external phone number 24. Finallythe process continues by displaying the assigned external phone number24 in operation S506, before the process coming to an end.

Referring now to FIG. 6, a schematic of an example of a data processingsystem 210 is shown. Data processing system 210 is only one example of asuitable data processing system and is not intended to suggest anylimitation as to the scope of use or functionality of embodiments of theinvention described herein. Regardless, data processing system 210 iscapable of being implemented and/or performing any of the functionalityset forth herein above.

In data processing system 210 there is a computer system/server 212,which is operational with numerous other general purpose or specialpurpose computing system environments or configurations. Examples ofwell-known computing systems, environments, and/or configurations thatmay be suitable for use with computer system/server 212 include, but arenot limited to, personal computer systems, server computer systems, thinclients, thick clients, handheld or laptop devices, multiprocessorsystems, microprocessor-based systems, set top boxes, programmableconsumer electronics, network PCs, minicomputer systems, mainframecomputer systems, and distributed cloud computing environments thatinclude any of the above systems or devices, and the like.

Computer system/server 212 may be described in the general context ofcomputer system executable instructions, such as program modules, beingexecuted by a computer system. Generally, program modules may includeroutines, programs, objects, components, logic, data structures, and soon that perform particular tasks or implement particular abstract datatypes. Computer system/server 212 may be practiced in distributed cloudcomputing environments where tasks are performed by remote processingdevices that are linked through a communications network. In adistributed cloud computing environment, program modules may be locatedin both local and remote computer system storage media including memorystorage devices.

As shown in FIG. 6, computer system/server 212 in data processing system210 is shown in the form of a general-purpose computing device. Thecomponents of computer system/server 212 may include, but are notlimited to, one or more processors or processing units 216, a systemmemory 228, and a bus 218 that couples various system componentsincluding system memory 228 to processor 216.

Bus 218 represents one or more of any of several types of busstructures, including a memory bus or memory controller, a peripheralbus, an accelerated graphics port, and a processor or local bus usingany of a variety of bus architectures. By way of example, and notlimitation, such architectures include Industry Standard Architecture(ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA)bus, Video Electronics Standards Association (VESA) local bus, andPeripheral Component Interconnect (PCI) bus.

Computer system/server 212 typically includes a variety of computersystem readable media. Such media may be any available media that isaccessible by computer system/server 212, and it includes both volatileand non-volatile media, removable and non-removable media.

System memory 228 can include computer system readable media in the formof volatile memory, such as random access memory (RAM) 230 and/or cachememory 232. Computer system/server 212 may further include otherremovable/non-removable, volatile/non-volatile computer system storagemedia. By way of example only, storage system 234 can be provided forreading from and writing to a non-removable, non-volatile magnetic media(not shown and typically called a “hard drive”). Although not shown, amagnetic disk drive for reading from and writing to a removable,non-volatile magnetic disk (e.g., a “floppy disk”), and an optical diskdrive for reading from or writing to a removable, non-volatile opticaldisk such as a CD-ROM, DVD-ROM or other optical media can be provided.In such instances, each can be connected to bus 218 by one or more datamedia interfaces. As will be further depicted and described below,memory 228 may include at least one program product having a set (e.g.,at least one) of program modules that are configured to carry out thefunctions of embodiments of the invention.

Program/utility 240, having a set (at least one) of program modules 242,may be stored in memory 228 by way of example, and not limitation, aswell as an Operating System, one or more application programs, otherprogram modules, and program data. Each of the Operating System, one ormore application programs, other program modules, and program data orsome combination thereof, may include an implementation of a networkingenvironment. Program modules 242 generally carry out the functionsand/or methodologies of embodiments of the invention as describedherein.

Computer system/server 212 may also communicate with one or moreexternal devices 214 such as a keyboard, a pointing device, a display224, etc.; one or more devices that enable a user to interact withcomputer system/server 212; and/or any devices (e.g., network card,modem, etc.) that enable computer system/server 212 to communicate withone or more other computing devices. Such communication can occur viaInput/Output (I/O) interfaces 222. Still yet, computer system/server 212can communicate with one or more networks such as a local area network(LAN), a general wide area network (WAN), and/or a public network (e.g.,the Internet) via network adapter 220. As depicted, network adapter 220communicates with the other components of computer system/server 212 viabus 218. It should be understood that although not shown, other hardwareand/or software components could be used in conjunction with computersystem/server 212. Examples, include, but are not limited to: microcode,device drivers, redundant processing units, external disk drive arrays,RAID systems, tape drives, and data archival storage systems, etc.

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, Firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Smalltalk, C++ or the like, andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operations to be performed on the computer, otherprogrammable apparatus or other device to produce a computer implementedprocess, such that the instructions which execute on the computer, otherprogrammable apparatus, or other device implement the functions/actsspecified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

The descriptions of the various embodiments of the present inventionhave been presented for purposes of illustration, but are not intendedto be exhaustive or limited to the embodiments disclosed. Manymodifications and variations will be apparent to those of ordinary skillin the art without departing from the scope and spirit of the describedembodiments. The terminology used herein was chosen to best explain theprinciples of the embodiments, the practical application or technicalimprovement over technologies found in the marketplace, or to enableothers of ordinary skill in the art to understand the embodimentsdisclosed herein.

1. A method for establishing a communication session, the methodcomprising: contacting, by a first communication device, an externalphone number, wherein the external phone number is assigned to a uniqueidentifier of a mobile device, sending, by the mobile device, the uniqueidentifier detectable on a wireless network, wherein a secondcommunication device is located within a vicinity of the mobile device,wherein the second communication device is in a local communicationnetwork comprises the wireless network, wherein the mobile device isassigned to a call receiver; providing the unique identifier of themobile device and a local communication identifier to a service provideradapter of a service provider; in response to the sending the uniqueidentifier in the wireless network, determining a location of the mobiledevice; associating the mobile device to the second communication devicein dependence of the location of the mobile device; and generating aunique temporary local network identifier at the service provideradapter, to register and authenticate the call receiver at a localnetwork adapter, wherein the second communication device is reachablevia the external phone number from a main communication network via acommunication channel using the local communication identifier and theunique temporary local network identifier.
 2. The method of claim 1,further comprising: in response to a request to establish acommunication session from the first communication device in the maincommunication network to the second communication device by contactingthe external phone number, determining if the local communicationidentifier for the unique identifier was received by the serviceprovider adapter; and in response to the determining the localcommunication identifier was received, establishing a communicationsession with the second communication device in the vicinity of themobile device via the local communication network.
 3. The method ofclaim 1, wherein the mobile device is a mobile telephone device for thewireless network.
 4. The method of claim 1, wherein the uniqueidentifier is configured as a media access control address attributed tothe mobile device.
 5. The method of claim 1, further comprising: basedupon receiving the unique identifier and the local communicationidentifier, providing, by the service provider adapter, the externalphone number assigned to the unique identifier; and generating, by theservice provider adapter, the unique temporary local network identifierbased on the local communication identifier for establishing thecommunication channel to the local communication network.
 6. The methodof claim 5 further comprising providing, by the service provideradapter, the unique temporary local network identifier assigned to theunique identifier to the local network adapter of the localcommunication network.
 7. The method of claim 5, further comprisinginitiating, by the first communication device, a phone call using theexternal phone number routed through the service provider adapter viathe local network adapter to the second communication device.
 8. Themethod of to claim 1 further comprising selecting, by the local networkadapter of the local communication network, the second communicationdevice, of one or more communication devices, based on a currentlocation of the mobile device.
 9. The method of claim 1 furthercomprising assigning, by the local network adapter, the unique temporarylocal network identifier to a local network identifier for connecting aclosest secondary communication device via a current location of themobile device.
 10. The method of claim 1, wherein the associating isperformed by locating the unique identifier of a location detectiondevice coupled to the wireless network.
 11. The method of claim 1further comprising forwarding, by the local network adapter, the uniqueidentifier to the service provider adapter for selected, particularlypreregistered, mobile devices.
 12. The method of claim 1 furthercomprising anonymizing, by a cryptographic hash function used in thelocal communication network, the unique identifier.
 13. The method ofclaim 1, further comprising converting, by a protocol converter used inthe local communication network, different telephone protocols.
 14. Themethod of claim 1, further comprising preassigning the unique identifierof the mobile device to the local communication identifier.
 15. Themethod of claim 1 wherein, the main communication network comprises aservice provider facility with at least a service provider adapter and alookup table.
 16. The method of claim 1 further comprising executing, bya data processing system, a data processing program, wherein the dataprocessing program comprises a computer readable program.